﻿@model mvc315.Models.TodoIndexVM
@{
    //Layout = null;
}

<h1>
    @Model.Greeting
</h1>

<div>
    <table class="table table-bordered table-striped">
        <tr>
            <th>id</th>
            <th>Done</th>
            <th>Chore</th>
            <th>Category</th>
            <th>Date Created</th>
        </tr>
        @foreach (var c in Model.MyChores)
        {
         <tr>
            <td>@c.Id</td>
            <td>@c.IsCompleted</td>
             <td>@c.Task</td>
             <td>@c.Category</td>
            <td>@c.DateCreated</td>
        </tr>
        }
    </table>
</div>